Platform Explorer / Nuxeo Platform 11.4

Operation RunInputScript (Run Input Script)

Description

Run a script from the input blob. A blob comtaining script result is returned.
Operation id RunInputScript
AliasesContext.RunInputScript
Category Scripting
Label Run Input Script
Requires
Since

Parameters

Name Description Type Required Default value
type string no mvel, groovy 

Signature

Inputs blob
Outputs blob

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.RunInputScript
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "RunInputScript",
  "aliases" : [ "Context.RunInputScript" ],
  "label" : "Run Input Script",
  "category" : "Scripting",
  "requires" : null,
  "description" : "Run a script from the input blob. A blob comtaining script result is returned.",
  "url" : "RunInputScript",
  "signature" : [ "blob", "blob" ],
  "params" : [ {
    "name" : "type",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : "Option",
    "order" : 0,
    "values" : [ "mvel", "groovy" ]
  } ]
}